const userCtrl = require("../controllers/UserController");
module.exports = (apiRouter) => {
  apiRouter.post("/user/register", userCtrl.register); //注册
  apiRouter.post("/user/login", userCtrl.login); //用户登录
  apiRouter.get("/user/getDetail", userCtrl.getDetail); //查询用户详情
};
